package com.example.diancai;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.util.List;

@SpringBootApplication
@MapperScan("com.example.diancai.mapper")
@EnableScheduling
@Import(cn.hutool.extra.spring.SpringUtil.class)
@EnableAsync
public class DianCaiApplication {

    public static void main(String[] args) {
        SpringApplication.run(DianCaiApplication.class, args);
    }
}
